package com.lijie.ljblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.lijie.ljblog.model.Music;
import com.lijie.ljblog.model.dto.MusicDTO;
import com.lijie.ljblog.util.Result;

import java.util.List;

/**
 * 音乐列表;(music)表服务接口
 * @author : http://www.chiner.pro
 * @date : 2023-1-11
 */

public interface MusicService extends IService<Music> {


    Result<List<Music>> getRandomMusicList();

    PageInfo<Music> musicListPage( MusicDTO musicDTO);

    Result<Boolean> deleteMusic (MusicDTO musicDTO);
}